.TH std::latch::wait 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::latch::wait \- std::latch::wait

.SH Synopsis
   void wait() const;  \fI(since C++20)\fP

   Blocks the calling thread until the internal counter reaches 0. If it is zero
   already, returns immediately.

.SH Parameters

   \fI(none)\fP

.SH Return value

   \fI(none)\fP

.SH Exceptions

   Throws std::system_error with an error code allowed for mutex types on error.
